<template>
    <div>
        <Modal v-model="modal" class="modal-full modal-form" :title="modalTitle" :width="modalWidth">
            <div v-if="modalShow">
                <Spin size="large" fix v-show="dataLoading"></Spin>
                <Form-control v-if="modelLoad" @build="formBuild" :view="true" @validate="validateChange" :module="actionModel.code+'_'+'form'" ref="form" :col="$parent.modelParam('col')||1" v-model="data" :model="formModel"></Form-control>
            </div>
            <div slot="footer" class="button-panel-button">
                <ActionMirror v-if="actionModel.param && actionModel.param.inner_trigger" class="mirror-box" @triggerAction="triggerAction" :actions="innerAction"></ActionMirror>
                <i-button @click="close">取消</i-button>
            </div>
        </Modal>
    </div>
</template>
<script>
import base from "../edit/modal";
export default {
  extends: base,
  data() {
    return {
      dataLoading: true
    };
  },
  created() {},
  methods: {}
};
</script>
